<!DOCTYPE html>
<html lang="ch" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>用户登陆-焕新网</title>
    <link href="/assets/css/bootstrap.min.css" rel="stylesheet" crossorigin="anonymous">
    <script src="/assets/js/bootstrap.bundle.min.js"  crossorigin="anonymous"></script>
    <link href="/assets/css/main.css" rel="stylesheet">
</head>
<style>
    body,html{
        margin: 0;
    }
    body{
        background-image: url("/assets/images/background.jpg");

    }
</style>

<body>
<div class="login-container">
    <form th:action="'/login'" th:method="'post'" class="login-form">
        <div th:text="${message}" class="error"></div>
        <h2 style="color:red" class="text-center">中工焕新网</h2>

        <div class="form-item row" >
            <label for="account" class="col-sm-2 col-form-label">手机或邮箱</label>
            <div class="col-sm-10">
                <input type="text" class="form-control" id="account" placeholder="请输入手机号" name="account">
            </div>
        </div>
        <div class="form-item row">
            <label for="password" class="col-sm-2 col-form-label">密码</label>
            <div class="col-sm-10">
                <input type="password" class="form-control" id="password" placeholder="请输入密码" name="password">
            </div>
        </div>
        <div class="form-item text-center">
            没有账号？请<a th:href="'/register'">注册</a>
        </div>
        <div class="form-item">
            <button type="submit" class="btn btn-primary login-submit">登陆</button>
        </div>
    </form>
</div>

</body>
</html>